There is a circular dependancy between ldb/lisp.h and ldb/ldb.map that causes bootstrapping problems. To the easiest way to get around this problem is to make a fake ldb.map file that has nothing in it by a version number:
% echo "Map file for ldb version 0" > ldb.mapand then run genesis with NIL for the list of files:
* (load ".../compiler/generic/genesis") * (lisp::genesis nil ".../ldb/ldb.map" "/dev/null" ".../ldb/lisp.map" ".../ldb/lisp.h")It will generate a whole bunch of warnings about things being undefined, but ignore that, because it will also generate a correct lisp.h. You can then compile ldb producing a correct ldb.map:
% makeand the use
tools/do-worldbuild
and tools/mk-lisp
to build
kernel.core
and lisp.core
(see section #.#>